package com.letoken.platform.repo.ecommerce.vo;


import com.letoken.platform.repo.ecommerce.po.EcommerceAfterOrder;
import com.letoken.platform.repo.ecommerce.po.EcommerceUserOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新用户订单详情")
public class UserOrderDetailRes implements Serializable {

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "订单状态：0->待付款；1->待发货； 2->待收货；3->已完成 4->已取消")
    private Integer status;

    @ApiModelProperty("售后前状态")
    private Integer beforeStatus;

    @ApiModelProperty(value = "状态描述")
    private String statusName;


    /*********************************地址信息**************************************************/

    /**
     * 收货人姓名
     */
    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;
    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;
    /**
     * 省份/直辖市
     */
    @ApiModelProperty(value = "省份/直辖市")
    private String receiverProvince;
    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    private String receiverCity;
    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    private String receiverRegion;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    private String receiverAddress;

    /*********************************地址信息**************************************************/



    /*********************************店铺信息**************************************************/

    @ApiModelProperty(value = "店铺ID")
    private Integer mallId;
    @ApiModelProperty(value = "店铺名称")
    private String mallName;

    @ApiModelProperty(value = "店铺用户ID")
    private Integer mallUserId;

    @ApiModelProperty(value = "店铺logo")
    private String logo;

    /*********************************店铺信息**************************************************/

    /*********************************商品信息**************************************************/

    @ApiModelProperty("商品名称")
    private String productTitle;

    @ApiModelProperty("商品主图")
    private String pic;


    @ApiModelProperty("商品规格")
    private String productAttr;

    private String attrStr;


    @ApiModelProperty("订单数量")
    private Integer quantity;

    @ApiModelProperty("实际价格")
    private BigDecimal realPrice;


    @ApiModelProperty("订单总额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "支付总额")
    private BigDecimal payAmount;


    @ApiModelProperty(value = "运费金额")
    private BigDecimal shipping;

    /*********************************商品信息**************************************************/


    /*********************************订单信息**************************************************/

    @ApiModelProperty(value = "订单编号")
    private String orderNo;


    @ApiModelProperty(value = "下单时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "支付时间")
    private LocalDateTime paymentTime;


    /**
     * 物流公司
     */
    @ApiModelProperty(value = "物流公司")
    private String deliveryCompany;

    /**
     * 物流订单号
     */
    @ApiModelProperty(value = "物流订单号")
    private String deliveryNo;

    /**
     * 发货时间
     */
    @ApiModelProperty(value = "发货时间")
    private LocalDateTime deliveryTime;

    /**
     * 确认收货时间
     */
    @ApiModelProperty(value = "确认收货时间")
    private LocalDateTime receiveTime;


    @ApiModelProperty(value = "完成时间/关闭时间")
    private LocalDateTime updateTime;

    /*********************************订单信息**************************************************/

    @ApiModelProperty(value = "商品ID")
    private Integer productId;


    @ApiModelProperty(value = "确认收货状态 0未确认 1已确认")
    private Integer confirmStatus;






    @ApiModelProperty(value = "sku库存id")
    private Integer skuId;


    @ApiModelProperty(value = "售后订单ID")
    private Integer afterOrderId;


    private Integer afterStatus;

    private Integer refundStatus;

    private Integer refundGoodsStatus;

    private Integer afterType;


    private BigDecimal contributing;


    @ApiModelProperty("rmb价格")
    private BigDecimal rmbPrice;

    private BigDecimal rmbRate;




}
